<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>班级收费标准</title>
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="../../css/criterionCss/dormitory.css" media="all"/>
    <link rel="stylesheet" href="../../css/criterionCss/classStandard.css" media="all"/>
</head>
<body>
<div class="vessel-body">
    <div class="vessel-title">
        <h1>班级收费标准</h1>
    </div>
    <!--    模糊查询-->
    <div class="vessel-form">
        <form class="layui-form" lay-filter="query" action="javascript:;">
            <div class="layui-input-inline" style="width: 100px">
                <select name="pastDue" lay-filter="past-due">
                    <option value="">全部</option>
                    <option value="0">已过期</option>
                    <option value="1">未过期</option>
                </select>
            </div>
            <div class="layui-inline">
                <div class="layui-input-inline">
                    <input type="text" id="query-startTime" name="startTime" class="layui-input"
                           placeholder="选择起始或结束日期">
                </div>
            </div>
        </form>
    </div>
    <div class="vessel-table">
        <table id="dormitoryTable" lay-filter="dormitoryTable"></table>
    </div>
</div>


<script src="../../layui/layui.js"></script>
<script src="../../js/jquery-3.6.0.js"></script>
<script src="../../js/standard/classStandard.js"></script>
</body>
<script type="text/html" id="addProject">
    <div class="vessel-add-form">
        <form class="layui-form" action="javascript:;">
            <div class="layui-form-item">
                <label class="layui-form-label">期数</label>
                <div class="layui-input-inline">
                    <input type="number" name="classesPeriods" class="layui-input" placeholder="请输入期数">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">收费标准</label>
                <div class="layui-input-inline">
                    <input type="number" name="classesMoney" class="layui-input" placeholder="请输入收费标准">
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">日期范围</label>
                    <div class="layui-inline" id="test-range">
                        <div class="layui-input-inline">
                            <input type="text" id="startTime" name="startTime" class="layui-input" placeholder="开始日期">
                        </div>
                        <div class="layui-form-mid">-</div>
                        <div class="layui-input-inline">
                            <input type="text" id="endTime" name="endTime" class="layui-input" placeholder="结束日期">
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="send-add">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </form>
    </div>
</script>
<!--修改标准-->
<script type="text/html" id="editProject">
    <div class="vessel-project">
        <form class="layui-form" lay-filter="edit-form" action="javascript:;">
            <div class="layui-input-block">
                <label class="layui-form-label">期数</label>
                <div class="layui-input-inline">
                    <input class="layui-input" name="classesPeriods" placeholder="请输入期数">
                </div>
            </div>
            <div class="layui-input-block">
                <label class="layui-form-label">修改金额</label>
                <div class="layui-input-inline">
                    <input class="layui-input" name="classesMoney" min="0" lay-verify="required|number"
                           placeholder="请输入修改的金额">
                </div>
            </div>
            <div class="layui-input-block">
                <label class="layui-form-label">结束时间</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="update-endTime" name="endTime" placeholder="请输入结束时间">
                </div>
            </div>
            <input type="hidden" name="id">
            <div class="layui-input-block" style="float: right; margin-right: 48px">
                <button class="layui-btn" style="width: 120px" lay-submit lay-filter="editProject">立即提交</button>
            </div>
        </form>
    </div>
</script>

<!--工具类操作-->
<script type="text/html" id="editTool">
    <span class="span-btn span-btn-edit" style="color: #007DDB" lay-event="edit">修改</span>
    <span class="span-btn span-btn-danger" lay-event="del">删除</span>
</script>
<script type="text/html" id="utilsHeader">
    <div class="utils-tool">
        <button class="project-add layui-btn" lay-event="addproject">新增项目</button>
    </div>
    <div class="vessel-toolbar">
        <span class="vessel-toolbar-title">各个班级收费标准设置</span>
    </div>
</script>
</html>